import './Workflow.scss';
import * as React from 'react';
import { connect } from 'react-redux';
import WorkflowSvgPanel from './WorkflowSvgPanel';

class WorkflowContent extends React.Component<any, any> {


    render() {
        return (
            <div className='workflow__content'>
                <div className='workflow__theader noselect'>
                    工作区域
                </div>
                <WorkflowSvgPanel/>
            </div>

        );
    }
};

const mapStateToProps = (state: any) => {
    const { operaType } = state.action;
    return {
        operaType
    };
};

export default connect(mapStateToProps)(WorkflowContent);
